package com.punai.externalccb.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.punai.common.annotation.Excel;
import com.punai.common.core.domain.BaseEntity;
import com.punai.common.utils.Decimal3Serializer;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 月度产值对象 ydcz_summary
 *
 * @author zxw_
 * @date 2023-05-15
 */
public class YdczSummary extends BaseEntity
{

    /** $column.columnComment */
    private String id;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer oid;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String name;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String unit;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer ydDate;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer datatype;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer bidnodeid;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @JsonSerialize(using = Decimal3Serializer.class)
    private BigDecimal total;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal monthPlanCz;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @JsonSerialize(using = Decimal3Serializer.class)
    private BigDecimal monthCz;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal qcCz;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal monthXyPlanCz;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @JsonSerialize(using = Decimal3Serializer.class)
    private BigDecimal costsCz;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal curYearCostsCz;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal lastYearCostsCz;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal costCzPfzj;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String proId;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String stagetype;
    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setOid(Integer oid)
    {
        this.oid = oid;
    }

    public Integer getOid()
    {
        return oid;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setUnit(String unit)
    {
        this.unit = unit;
    }

    public String getUnit()
    {
        return unit;
    }
    public void setYdDate(Integer ydDate)
    {
        this.ydDate = ydDate;
    }

    public Integer getYdDate()
    {
        return ydDate;
    }
    public void setDatatype(Integer datetype)
    {
        this.datatype = datetype;
    }

    public Integer getDatatype()
    {
        return datatype;
    }
    public void setBidnodeid(Integer bidnodeid)
    {
        this.bidnodeid = bidnodeid;
    }

    public Integer getBidnodeid()
    {
        return bidnodeid;
    }
    public void setTotal(BigDecimal total)
    {
        this.total = total;
    }

    public BigDecimal getTotal()
    {
        return total;
    }
    public void setMonthPlanCz(BigDecimal monthPlanCz)
    {
        this.monthPlanCz = monthPlanCz;
    }

    public BigDecimal getMonthPlanCz()
    {
        return monthPlanCz;
    }
    public void setMonthCz(BigDecimal monthCz)
    {
        this.monthCz = monthCz;
    }

    public BigDecimal getMonthCz()
    {
        return monthCz;
    }
    public void setQcCz(BigDecimal qcCz)
    {
        this.qcCz = qcCz;
    }

    public BigDecimal getQcCz()
    {
        return qcCz;
    }
    public void setMonthXyPlanCz(BigDecimal monthXyPlanCz)
    {
        this.monthXyPlanCz = monthXyPlanCz;
    }

    public BigDecimal getMonthXyPlanCz()
    {
        return monthXyPlanCz;
    }
    public void setCostsCz(BigDecimal costsCz)
    {
        this.costsCz = costsCz;
    }

    public BigDecimal getCostsCz()
    {
        return costsCz;
    }
    public void setCurYearCostsCz(BigDecimal curYearCostsCz)
    {
        this.curYearCostsCz = curYearCostsCz;
    }

    public BigDecimal getCurYearCostsCz()
    {
        return curYearCostsCz;
    }
    public void setLastYearCostsCz(BigDecimal lastYearCostsCz)
    {
        this.lastYearCostsCz = lastYearCostsCz;
    }

    public BigDecimal getLastYearCostsCz()
    {
        return lastYearCostsCz;
    }
    public void setCostCzPfzj(BigDecimal costCzPfzj)
    {
        this.costCzPfzj = costCzPfzj;
    }

    public BigDecimal getCostCzPfzj()
    {
        return costCzPfzj;
    }
    public void setProId(String proId)
    {
        this.proId = proId;
    }

    public String getProId()
    {
        return proId;
    }
    public void setStagetype(String stagetype)
    {
        this.stagetype = stagetype;
    }

    public String getStagetype()
    {
        return stagetype;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("oid", getOid())
            .append("name", getName())
            .append("unit", getUnit())
            .append("ydDate", getYdDate())
            .append("datetype", getDatatype())
            .append("bidnodeid", getBidnodeid())
            .append("total", getTotal())
            .append("monthPlanCz", getMonthPlanCz())
            .append("monthCz", getMonthCz())
            .append("qcCz", getQcCz())
            .append("monthXyPlanCz", getMonthXyPlanCz())
            .append("costsCz", getCostsCz())
            .append("curYearCostsCz", getCurYearCostsCz())
            .append("lastYearCostsCz", getLastYearCostsCz())
            .append("costCzPfzj", getCostCzPfzj())
            .append("proId", getProId())
            .append("stagetype", getStagetype())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
        .toString();
    }
}
